<div class="sw-toc-item" is-active-menu><div ng-if="$ctrl.item.childPages.length > 0" class="inner btn-group btn-group-sm"> <a class="btn" href="{{$ctrl.item.url}}" data-bs-toggle="collapse" ng-click="$ctrl.item.isActive = !$ctrl.item.isActive"><span class="mi mi-ChevronDownSmall"></span></a></div><div class="{{$ctrl.itemStyle}}"><a href="{{$ctrl.item.url}}" class="text {{$ctrl.linkStyle}}" ng-click="$ctrl.item.isActive = !$ctrl.item.isActive"><i class="mi {{$ctrl.item.icon}} {{$ctrl.iconSize}} mi-fw"></i> <span ng-bind="$ctrl.translate($ctrl.item.textKeyword, false, $ctrl.item.textDefault)"></span></a></div><ul ng-if="$ctrl.item.childPages.length > 0" ng-show="$ctrl.item.isActive"><li ng-repeat="m in $ctrl.item.childPages"><main-side-bar-item-dynamic item="m.page" link-style="'sw-toc-sub-link mb-1'"></main-side-bar-item-dynamic></li></ul></div>